
package com.hlkj.pay.infrastructure.model.merchant;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hlkj.framework.mybatis.core.dataobject.BaseDO;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 默认配置表
 * 
 * @TableName t_default_fee_config
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("t_merchant_default_fee_config")
public class DefaultFeeConfigDO extends BaseDO {

    /**
     * 商户商户号
     */
    @Schema(description = "商户商户号")
    private String sn;

    /**
     * 商户类别 1 商户 2 代理商户
     */
    @Schema(description = "商户类别 1 商户 2 代理商户")
    private Integer snType;

    /**
     * 支付费率
     */
    @Schema(description = "支付费率")
    private String feeConfig;
    /**
     * 状态 0 关闭 1 启用
     *  @see com.hlkj.pay.enums.CommonEnum.YES_NO_TYPE
     */
    @Schema(description = "状态 0 关闭 1 启用")
    private Integer status;
}
